.class Lcom/permission/runtime/ESPermissionActivity$a;
.super Ljava/lang/Object;
.source "ESPermissionActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/permission/runtime/ESPermissionActivity;->a(IZ[Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Z

.field final synthetic b:[Ljava/lang/String;

.field final synthetic c:I

.field final synthetic d:Lcom/permission/runtime/ESPermissionActivity;


# direct methods
.method constructor <init>(Lcom/permission/runtime/ESPermissionActivity;Z[Ljava/lang/String;I)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/permission/runtime/ESPermissionActivity$a;->d:Lcom/permission/runtime/ESPermissionActivity;

    iput-boolean p2, p0, Lcom/permission/runtime/ESPermissionActivity$a;->a:Z

    iput-object p3, p0, Lcom/permission/runtime/ESPermissionActivity$a;->b:[Ljava/lang/String;

    iput p4, p0, Lcom/permission/runtime/ESPermissionActivity$a;->c:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    .line 1
    iget-boolean p1, p0, Lcom/permission/runtime/ESPermissionActivity$a;->a:Z

    const/4 v0, 0x0

    if-eqz p1, :cond_0

    .line 2
    iget-object p1, p0, Lcom/permission/runtime/ESPermissionActivity$a;->d:Lcom/permission/runtime/ESPermissionActivity;

    invoke-static {p1}, Lcom/permission/runtime/ESPermissionActivity;->a(Lcom/permission/runtime/ESPermissionActivity;)Landroid/app/AlertDialog;

    move-result-object p1

    invoke-virtual {p1}, Landroid/app/AlertDialog;->dismiss()V

    .line 3
    iget-object p1, p0, Lcom/permission/runtime/ESPermissionActivity$a;->d:Lcom/permission/runtime/ESPermissionActivity;

    const/4 v1, 0x0

    invoke-static {p1, v1}, Lcom/permission/runtime/ESPermissionActivity;->a(Lcom/permission/runtime/ESPermissionActivity;Landroid/app/AlertDialog;)Landroid/app/AlertDialog;

    .line 4
    iget-object p1, p0, Lcom/permission/runtime/ESPermissionActivity$a;->d:Lcom/permission/runtime/ESPermissionActivity;

    iget-object v1, p0, Lcom/permission/runtime/ESPermissionActivity$a;->b:[Ljava/lang/String;

    iget v2, p0, Lcom/permission/runtime/ESPermissionActivity$a;->c:I

    invoke-static {p1, v1, v2}, Landroidx/core/app/ActivityCompat;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V

    .line 5
    iget-object p1, p0, Lcom/permission/runtime/ESPermissionActivity$a;->d:Lcom/permission/runtime/ESPermissionActivity;

    invoke-virtual {p1, v0, v0}, Lcom/permission/runtime/ESPermissionActivity;->a(ZZ)V

    goto :goto_0

    .line 6
    :cond_0
    iget-object p1, p0, Lcom/permission/runtime/ESPermissionActivity$a;->d:Lcom/permission/runtime/ESPermissionActivity;

    invoke-static {p1, v0}, Lcom/permission/runtime/ESPermissionActivity;->a(Lcom/permission/runtime/ESPermissionActivity;Z)Z

    .line 7
    iget-object p1, p0, Lcom/permission/runtime/ESPermissionActivity$a;->d:Lcom/permission/runtime/ESPermissionActivity;

    invoke-static {p1}, Lcom/permission/runtime/f;->d(Landroid/content/Context;)V

    .line 8
    iget-object p1, p0, Lcom/permission/runtime/ESPermissionActivity$a;->d:Lcom/permission/runtime/ESPermissionActivity;

    invoke-static {p1}, Lcom/permission/runtime/ESPermissionActivity;->a(Lcom/permission/runtime/ESPermissionActivity;)Landroid/app/AlertDialog;

    move-result-object p1

    invoke-virtual {p1}, Landroid/app/AlertDialog;->dismiss()V

    .line 9
    iget-object p1, p0, Lcom/permission/runtime/ESPermissionActivity$a;->d:Lcom/permission/runtime/ESPermissionActivity;

    const/4 v1, 0x1

    invoke-virtual {p1, v0, v1}, Lcom/permission/runtime/ESPermissionActivity;->a(ZZ)V

    :goto_0
    return-void
.end method
